﻿namespace Creventive.Wpf.ShellFactory.Workspace
{
    /// <summary>
    ///   Flags for defining altered behavior of the methods which close views.
    /// </summary>
    public enum ApplicationViewClosingMode
    {
        /// <summary>
        ///   Default behavior
        /// </summary>
        None,

        /// <summary>
        ///   Only queries the views to see if they can be closed (i.e. runs the Closing events)
        /// </summary>
        QueryOnly,

        /// <summary>
        ///   Force the closing of all views, skipping the Closing event checks.
        /// </summary>
        NoQuery,

        /// <summary>
        ///   Do not wait until all views have been queried before closing each view.
        /// </summary>
        SequentialClose
    }
}